package Year2021.month10.Day21;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, int age, int teachingAge, String sex) {
        super(name, age, teachingAge, sex);

    }

    public void java() {
        System.out.println("是java老师，可以带同学们熟悉java！");
    }
}
